# Experiment with wxPython's HtmlWindow
# tested with Python24 and wxPython26    vegaseat   17may2006

import wx
import  wx.html

class MyHtmlPanel2(wx.Panel):
    """
    class MyHtmlPanel inherits wx.Panel and adds a button and HtmlWindow
    """
    def __init__(self, parent, id):
        # default pos is (0, 0) and size is (-1, -1) which fills the frame
        wx.Panel.__init__(self, parent, id)
        self.SetBackgroundColour("white")
        self.html1 = wx.html.HtmlWindow(self, id, pos=(0,0), size=(990,485))
        
        path="C:\Users/Juan David/Proyecto/Fuentes/Interprete/ayuda html/ayuda.html"
        self.html1.LoadPage(path)